import {WebGLRenderTarget} from './WebGLRenderTarget.js';

function WebGLMultisampleRenderTarget(width, height, options) {

  WebGLRenderTarget.call(this, width, height, options);

  this.samples = 4;

}

WebGLMultisampleRenderTarget.prototype = Object.assign(Object.create(WebGLRenderTarget.prototype), {

  constructor: WebGLMultisampleRenderTarget,

  isWebGLMultisampleRenderTarget: true,

  copy: function (source) {

    WebGLRenderTarget.prototype.copy.call(this, source);

    this.samples = source.samples;

    return this;

  }

});


export {WebGLMultisampleRenderTarget};
